/**
 *
 */
package com.et114.modules.org.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author guanhw
 */
public class TitleMsgVo extends OrgBaseVo {
	private static final long	serialVersionUID	= 385224159965233531L;
	private Long grpId;
    private Long titleId ;
	private String titleName ;
	private String titleDesc ;
	private Long[] titleIds ; 
	private List roles = new ArrayList();;
	private List groups = new ArrayList(); ;
	private List users = new ArrayList(); ;

	//资源
	private List functions = new ArrayList ();
	private List methods = new ArrayList();
	private List functionEls = new ArrayList();

	//extends pros
	private Long [] deleteId;
	private java.util.Date authDate ;
	private byte roleType ; 
	private Boolean isLeaf;
	
	private GroupVo groupVo;
	private List titleList;
	private String chnName; // zhouxiaoyun  机构名称
	private String roleName ;
	
   

	public String getChnName ( ) {
		return chnName;
	}

	public void setChnName ( String chnName ) {
		this.chnName = chnName;
	}

	public List getTitleList ( ) {
		return titleList;
	}

	public void setTitleList ( List titleList ) {
		this.titleList = titleList;
	}

	public Long getGrpId() {
        return grpId;
    }

    public void setGrpId(Long grpId) {
        this.grpId = grpId;
    }
	public Boolean getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(Boolean isLeaf) {
        this.isLeaf = isLeaf;
    }

    public TitleMsgVo ( ) {
		// TODO Auto-generated constructor stub
	}

	public Long getTitleId ( ) {
		return titleId;
	}

	public void setTitleId ( Long titleId ) {
		this.titleId = titleId;
	}

	public String getTitleName ( ) {
		return titleName;
	}

	public void setTitleName ( String titleName ) {
		this.titleName = titleName;
	}

	public String getTitleDesc ( ) {
		return titleDesc;
	}

	public void setTitleDesc ( String titleDesc ) {
		this.titleDesc = titleDesc;
	}

	public List getRoles ( ) {
		return roles;
	}

	public void setRoles ( List roles ) {
		this.roles = roles;
	}

	public List getGroups ( ) {
		return groups;
	}

	public void setGroups ( List groups ) {
		this.groups = groups;
	}

	public List getUsers ( ) {
		return users;
	}

	public void setUsers ( List users ) {
		this.users = users;
	}

	public java.util.Date getAuthDate ( ) {
		return authDate;
	}

	public void setAuthDate ( java.util.Date authDate ) {
		this.authDate = authDate;
	}

	public Long [ ] getDeleteId ( ) {
		return deleteId;
	}

	public void setDeleteId ( Long [ ] deleteId ) {
		this.deleteId = deleteId;
	}

	public List getFunctions ( ) {
		return functions;
	}

	public void setFunctions ( List functions ) {
		this.functions = functions;
	}

	public List getMethods ( ) {
		return methods;
	}

	public void setMethods ( List methods ) {
		this.methods = methods;
	}

	public List getFunctionEls ( ) {
		return functionEls;
	}

	public void setFunctionEls ( List functionEls ) {
		this.functionEls = functionEls;
	}
	
	public boolean equals ( Object obj ) {
		if ( obj == null )
			return false;
		if ( obj == this )
			return true;
		if ( obj instanceof TitleMsgVo ) {
			return this.getTitleId ( ).longValue ( ) == ( ( TitleMsgVo ) obj )
					.getTitleId ( ).longValue ( );
		}
		return false;
	}

    public GroupVo getGroupVo() {
        return groupVo;
    }

    public void setGroupVo(GroupVo groupVo) {
        this.groupVo = groupVo;
    }

	public byte getRoleType ( ) {
		return roleType;
	}

	public String getRoleName ( ) {
		return roleName;
	}

	public void setRoleName ( String roleName ) {
		this.roleName = roleName;
	}

	public void setRoleType ( byte roleType ) {
		this.roleType = roleType;
	}

	public Long [ ] getTitleIds ( ) {
		return titleIds;
	}

	public void setTitleIds ( Long [ ] titleIds ) {
		this.titleIds = titleIds;
	}
}
